# define _CRT_SECURE_NO_WARNINGS 1
#include "List.h"

void test()
{
	ListNode* plist = NULL;
	ListNode* tmp = ListInit();
	if (tmp == NULL)
	{
		printf("init fail!\n");
	}
	else
	{
		plist = tmp;
	}
	ListPushBack(plist, 1);
	ListPushBack(plist, 2);
	ListPushBack(plist, 3);
	ListPushBack(plist, 4);
	ListPushBack(plist, 5);
	ListPushFront(plist, 0);
	ListPopBack(plist);
	ListPopFront(plist);
	ListPrint(plist);
}
int main()
{
	test();
	return 0;
}